/**
 * 美易通小程序配置文件
 * host：请求域名
 * storageKeys:缓存key值
 * apiList:各接口路径
 * apiCode:接口返回code约定
 * stringList：通用字符串，提示语等等
 */

// const host = 'https://myt.178mr.com/xcx'
const host = 'http://192.168.40.164:8888/xcx'

let config = {

  storageKeys: {},

  apiList: {
    getWeiXinConfig: `${host}/index/getWeiXinConfig`,
    getArticleList: `${host}/index/getArticleList`,
    getArticleInfo: `${host}/index/getArticleInfo`,
    getSubjectList: `${host}/subject/getSubjectList`,
    getSubjectInfo: `${host}/subject/getSubjectInfo`,
    getSubjectListByType: `${host}/subject/getSubjectListByType`,
    getGoodsList: `${host}/goods/getGoodsList`,
    getGoodsInfo: `${host}/goods/getGoodsInfo`,
    getStaffList: `${host}/staff/getStaffList`,
    postAppointmentOrder: `${host}/appointment/postAppointmentOrder`,
    getAppointmentOrder: `${host}/appointment/getAppointmentOrder`,
    getUserDayLeftPoint: `${host}/appointment/getUserDayLeftPoint`,
    wxLogin: `${host}/user/wxlogin`,
    login: `${host}/user/login`,
    changePass: `${host}/user/changepass`,
    getguestStorage: `${host}/user/getgueststorage`,
    getguestProject: `${host}/user/getguestproject`,
    getbuyRecords: `${host}/user/getbuyrecords`,
    getrefundRecords: `${host}/user/getrefundrecords`,
    getorderDetail: `${host}/user/getorderdetail`,
    getreservation: `${host}/user/getreservation`
  },

  apiCode: {
    success: 100,
    fail: 200
  },

  stringList: {
    requestFail: '请求失败'
  },

  amap: {
    AppId: 'wxf91cc890cde7873a'
  },
  // 机构id
  departmentid: 102

}

export default config
